class UserProfileController < ApplicationController
  def index
    return if check_params((id = params[:id]).nil?)
    return if check_record(!User.exists?(id))
    @user = User.find(id)
  end
end